package cn.whx.hrm.service;

import cn.whx.hrm.domain.Course;
import cn.whx.hrm.dto.Dto;
import cn.whx.hrm.query.CourseDocQuery;
import cn.whx.hrm.util.AjaxResult;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whx
 * @since 2021-06-21
 */
public interface ICourseService extends IService<Course> {


    AjaxResult save(Dto dto);

    AjaxResult onLine(List<Long> ids);

    AjaxResult offLine(List<Long> ids);

    AjaxResult queryCourses(CourseDocQuery query);
}
